/**
 * 2011 HuYao
 */
package com.wh.data.model;

/**
 * @author HuYao
 * 
 */
public class SumBp extends SumBase {

    private double _total_cost = 0d;

    private double _travel_time = 0d;
    private double _treatment_time = 0d;
    private double _ad_time = 0d;

    private double _distance = 0d;

    private double _total_time = 0;

    /**
     * @param therapist
     * @param start
     * @param end
     * @param total_cost
     * @param travel_time
     * @param treatment_time
     * @param ad_time
     * @param distance
     * @param day
     */
    public SumBp(int therapist, int start, int end, double total_cost,
	    double travel_time, double treatment_time, double ad_time,
	    double distance, int day) {
	super(therapist, start, end, day);
	this._total_cost = total_cost;
	this._travel_time = travel_time;
	this._ad_time = ad_time;
	this._treatment_time = travel_time;
	this._total_time = travel_time + treatment_time + ad_time;
	this._distance = distance;
    }

    /**
     * @param therapist
     * @param start
     * @param end
     * @param total_cost
     * @param total_time
     * @param distance
     * @param day
     */
    public SumBp(int therapist, int start, int end, double total_cost,
	    double total_time, double distance, int day) {
	super(therapist, start, end, day);
	this._total_cost = total_cost;
	this._total_time = total_time;
	this._distance = distance;
    }

    /**
     * @return the total_cost
     */
    public double getTotal_cost() {
	return this._total_cost;
    }

    /**
     * @return the travel_time
     */
    public double getTravel_time() {
	return this._travel_time;
    }

    /**
     * @return the treatment_time
     */
    public double getTreatment_time() {
	return this._treatment_time;
    }

    /**
     * @return the ad_time
     */
    public double getAd_time() {
	return this._ad_time;
    }

    /**
     * @return the total_time
     */
    public double getTotal_time() {
	return this._total_time;
    }

    /**
     * @return the _distance
     */
    public double get_distance() {
	return this._distance;
    }

}
